﻿Imports System
Imports System.Runtime.CompilerServices
Imports System.Runtime.InteropServices

Namespace Google.Desktop.Interop
    <ComImport, TypeLibType(CShort(&H1040)), Guid("A79E51C6-DB2D-4A44-848E-A8EBB22E5337")> _
    Public Interface IGoogleDesktopEventFactory
        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3F1)> _
        Function CreateEvent(<[In], MarshalAs(UnmanagedType.BStr)> ByVal component_guid_or_progid As String, <[In], MarshalAs(UnmanagedType.BStr)> ByVal schema_name As String) As <MarshalAs(UnmanagedType.IDispatch)> Object
    End Interface
End Namespace

